﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Pibby.Core.IO.Tests.Stubs
{
	public class FolderFactory : IFolderFactory
	{
		public IFolder GetFolder(string path)
		{
			return new Folder(path);
		}

		public IFolder GetFolder(Environment.SpecialFolder folder)
		{
			return new Folder(Environment.GetFolderPath(folder));
		}

		public IFile GetFile(string path)
		{
			return new File(path);
		}
	}
}


